package com.sky.mapper.admin;

import com.github.pagehelper.Page;
import com.sky.dto.DishSetmealDTO;
import com.sky.pojo.Setmeal;
import com.sky.pojo.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    void saveDish(List<SetmealDish> setmealDishes);

    void deleteSetmealDish(@Param("id") List<Integer> ids);

    Page<Setmeal> putSetmealDishe(List<SetmealDish> setmealDishes);

    DishSetmealDTO selectSetmealDish(@Param("id") Long id);
}
